//
//  JZHMyBillTableViewCell.m
//  极致荟
//
//  Created by hetao on 14-5-14.
//  Copyright (c) 2014年 mac. All rights reserved.
//

#import "JZHMyBillTableViewCell.h"

@implementation JZHMyBillTableViewCell

- (void)awakeFromNib
{
    // Initialization code
}
- (void)addCellData:(JZHCommodity *)com
{
    self.comtitle.text=com.name;
   
    NSString *str=@"￥";
    self.meony.text=[str stringByAppendingString:[NSString stringWithFormat:@"%.2f", com.paprice ] ];
    NSDate *date=[NSDate dateWithTimeIntervalSince1970:com.bigentime];
    NSDateFormatter *form= [[NSDateFormatter alloc]init];
    [form setDateFormat:@"MM月dd日 hh:mm"];
    self.comdate.text=[form stringFromDate:date];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
